package cn.hd.service;

import cn.hd.entity.AuthAdvertise;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service
@Transactional
public interface AuthAdvertiseService {
    //多条件动态分页查询
    public PageInfo<AuthAdvertise> selectAllFenYeAuthAdvertise(Map map,int pageNum,int pageSize);

    //根据编号查询
    public AuthAdvertise selectAuthAdvertiseById(long sadid);

    //修改审核状态为成功
    public int updateAuthAdvertiseStatusPass(long sadid);

    //修改审核状态为失败
    public int updateAuthAdvertiseStatusFail(long sadid);
}
